def func():
    pass


class Foo:
    def __init__(self, age, name, sex):
        self.age = age
        self.name = name
        self.sex = sex

    def eat(self):
        print("人吃饭....")

    def Name(self):
        print("姓名为：%s" % self.name)


# 类的实例化
foo = Foo(20, "king", "男")
foo1 = Foo(22, "king1", "男1")
print(id(foo),id(foo1))
foo.Name()